home *** CD-ROM | disk | FTP | other *** search
- tell application "MenuScripter"
- copy selection of window 1 to usersel
- copy style of usersel to selstyle
- if on styles of selstyle contains outline then
- set x to {class:text style info, on styles:{}, off styles:{outline}}
- else
- set x to {class:text style info, on styles:{outline}, off styles:{}}
- end if
- set style of usersel to x
- end tell